package com.pearlsoft.webapp.core.dataset;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


/**
 * 
 * QueryForDataSet
 * 
 * @Creator haitingr
 * @Create-DateTime 2011-10-25
 */
public interface QueryHandler {
	
	/**
	 * 
	 * @param request
	 */
	void setHttpServletRequest(HttpServletRequest request);
	
	
	/**
	 * 
	 * @param response
	 */
	public void setHttpServletResponse(HttpServletResponse response);

	/**
	 * 
	 * @param query
	 * @param ds
	 * @throws Exception
	 */
	void handler(Query query, DataSet ds) throws Exception;
}
